]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
17 years agoPort Dash section headers to CSS
Colin Walters [Thu, 22 Oct 2009 17:33:09 +0000 (13:33 -0400)]
Port Dash section headers to CSS

https://bugzilla.gnome.org/show_bug.cgi?id=599442

17 years agoImplement non-uniform borders (when not using corner_radius)
Colin Walters [Wed, 28 Oct 2009 16:53:26 +0000 (12:53 -0400)]
Implement non-uniform borders (when not using corner_radius)

StTheme CSS supports different border widths for different sides.  Implement
it for StWidget by drawing the border internally.  However, we don't support
a nonzero corner-radius with nonuniform borders.

https://bugzilla.gnome.org/show_bug.cgi?id=599442

17 years agoRemove (out) "caller-allocates" annotations
Colin Walters [Wed, 28 Oct 2009 16:52:08 +0000 (12:52 -0400)]
Remove (out) "caller-allocates" annotations

GObject Introspection+gjs doesn't presently support (out) for caller-allocates
scenarios.

https://bugzilla.gnome.org/show_bug.cgi?id=599442

17 years agoAdd missing allow-none for set_style_pseudo_class
Colin Walters [Fri, 23 Oct 2009 19:40:09 +0000 (15:40 -0400)]
Add missing allow-none for set_style_pseudo_class

https://bugzilla.gnome.org/show_bug.cgi?id=599442

17 years agoAdd missing allow-none for st_bin_set_child
Colin Walters [Fri, 23 Oct 2009 19:14:41 +0000 (15:14 -0400)]
Add missing allow-none for st_bin_set_child

https://bugzilla.gnome.org/show_bug.cgi?id=599442

17 years ago[StBoxLayout] Implement raise and lower
Colin Walters [Fri, 23 Oct 2009 14:18:35 +0000 (10:18 -0400)]
[StBoxLayout] Implement raise and lower

Code copied from ClutterGroup.

https://bugzilla.gnome.org/show_bug.cgi?id=599442

17 years ago[AppSwitcher] Add a separator between windows in current and other workspaces.
Steve Frécinaux [Wed, 14 Oct 2009 09:45:57 +0000 (11:45 +0200)]
[AppSwitcher] Add a separator between windows in current and other workspaces.

This make it is easier for the user to figure out on which workspace the
windows are. For instance, terminals related to various activities and put on
different workspaces were previously displayed as an uniform list, with no
visible distinction between the ones from the current workspace and the others.
Now they are physically separated by a thin gray line.

This is also consistent with the way applications are displayed in the
AppSwitcher.

https://bugzilla.gnome.org/show_bug.cgi?id=597944

17 years agoAdded Finnish translation.
Timo Jyrinki [Wed, 4 Nov 2009 09:17:20 +0000 (11:17 +0200)]
Added Finnish translation.

17 years agoUpdated Italian translation
Milo Casagrande [Tue, 3 Nov 2009 21:29:36 +0000 (22:29 +0100)]
Updated Italian translation

17 years agoAdded Romanian translation
Lucian Grijincu [Wed, 28 Oct 2009 20:39:57 +0000 (22:39 +0200)]
Added Romanian translation

17 years agoAdd shell-global-private.h to Makefile.am
Owen W. Taylor [Wed, 28 Oct 2009 19:46:46 +0000 (15:46 -0400)]
Add shell-global-private.h to Makefile.am

Distribute shell-global-private.h (as a non_gir_sources, since it
includes gjs.h and isn't scannable by gobject-introspection.)

17 years agoshell-global-private.h fixes:
Owen W. Taylor [Wed, 28 Oct 2009 16:59:01 +0000 (12:59 -0400)]
shell-global-private.h fixes:

- Include private header so shell-global.c compiles
- Move _shell_global_set_plugin to private header

17 years agoStore GjsContext pointer in ShellGlobal
Colin Walters [Sat, 24 Oct 2009 17:40:13 +0000 (13:40 -0400)]
Store GjsContext pointer in ShellGlobal

Future functionality in ShellGlobal needs access to the GjsContext.

https://bugzilla.gnome.org/show_bug.cgi?id=599561

17 years agoOnly do redisplay when mapped
Colin Walters [Sat, 24 Oct 2009 16:43:56 +0000 (12:43 -0400)]
Only do redisplay when mapped

If we're not mapped, only queue up a redisplay.  This avoids
e.g. changes in recent documents such as saving a file in GEdit
causing a lot of blocking I/O in the shell (we need to make
recent loading async as well).

https://bugzilla.gnome.org/show_bug.cgi?id=599560

17 years agoUpdated Spanish translation
Jorge González [Tue, 27 Oct 2009 22:58:48 +0000 (23:58 +0100)]
Updated Spanish translation

17 years agoUpdated Spanish translation
Jorge González [Tue, 27 Oct 2009 20:37:46 +0000 (21:37 +0100)]
Updated Spanish translation

17 years agoRemoving all favorites makes it impossible to add new ones
Maxim Ermilov [Tue, 27 Oct 2009 11:54:23 +0000 (14:54 +0300)]
Removing all favorites makes it impossible to add new ones

Show the placeholder when all favorites are gone.
https://bugzilla.gnome.org/show_bug.cgi?id=591854

17 years agoAdd emacs modelines to all .c and .h files that were missing them
Dan Winship [Tue, 27 Oct 2009 15:27:45 +0000 (11:27 -0400)]
Add emacs modelines to all .c and .h files that were missing them

17 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 26 Oct 2009 13:47:54 +0000 (14:47 +0100)]
Updated Slovenian translation

17 years ago[ShellApp] Ignore removal of windows we're not interested in
Colin Walters [Fri, 23 Oct 2009 17:15:13 +0000 (13:15 -0400)]
[ShellApp] Ignore removal of windows we're not interested in

Previously shell_app_remove_window assumed that it was being
passed a window in its list; rather than having callers check
whether a window is interesting and only if so removing it
from the app, just ignore removal of windows we aren't interested
in, like how we ignore addition of windows we already have.

https://bugzilla.gnome.org/show_bug.cgi?id=598502

17 years ago[ShellWindowTracker] Create fallback apps again
Colin Walters [Fri, 23 Oct 2009 16:26:05 +0000 (12:26 -0400)]
[ShellWindowTracker] Create fallback apps again

Creating window-based apps got lost in the code refactoring.

17 years ago[AppIcon] Keep glow up to date directly
Colin Walters [Fri, 23 Oct 2009 14:57:55 +0000 (10:57 -0400)]
[AppIcon] Keep glow up to date directly

AppWell was changed to only do updates on application running state
changes, so we need to update the glow on window count changes.

https://bugzilla.gnome.org/show_bug.cgi?id=599412

17 years ago[ShellApp] Signal windows-changed when removing a window
Colin Walters [Fri, 23 Oct 2009 14:56:48 +0000 (10:56 -0400)]
[ShellApp] Signal windows-changed when removing a window

https://bugzilla.gnome.org/show_bug.cgi?id=599412

17 years agoFix minimum height request, handle 0 allocation better
Colin Walters [Thu, 1 Oct 2009 13:18:05 +0000 (09:18 -0400)]
Fix minimum height request, handle 0 allocation better

First, fix a problem where though we intended to request a minimum
height of 0 for the docs content, we were actually requesting
spacing for all items.

On low resolution screens, we were still attempting to allocate
an item even when we were given 0 height.

https://bugzilla.gnome.org/show_bug.cgi?id=596984

17 years ago[AppSwitcher] misc refinements
Dan Winship [Fri, 9 Oct 2009 13:43:31 +0000 (09:43 -0400)]
[AppSwitcher] misc refinements

https://bugzilla.gnome.org/show_bug.cgi?id=597900

17 years agoReset page when doing a FULL redisplay
Colin Walters [Tue, 6 Oct 2009 18:37:09 +0000 (14:37 -0400)]
Reset page when doing a FULL redisplay

This fixes an issue where the app display would remember the page
between switching menus.

https://bugzilla.gnome.org/show_bug.cgi?id=597577

17 years ago[docInfo] Pass correct object to remove deleted info
Colin Walters [Wed, 21 Oct 2009 20:56:06 +0000 (16:56 -0400)]
[docInfo] Pass correct object to remove deleted info

We need to pass the actual RecentInfo boxed, not the DocInfo JS Object.

17 years agoUpdated Danish translation
Kris Thomsen [Wed, 21 Oct 2009 20:51:10 +0000 (22:51 +0200)]
Updated Danish translation

17 years ago[AppSwitcher] Reimplement the separator using St.Bin
Steve Frécinaux [Thu, 15 Oct 2009 22:34:23 +0000 (00:34 +0200)]
[AppSwitcher] Reimplement the separator using St.Bin

This way it can be styled using CSS.
This can help to fix bug 597362.

https://bugzilla.gnome.org/show_bug.cgi?id=598651

17 years ago[StThemeNode] Add support for 'width' and 'height' CSS properties.
Steve Frécinaux [Sat, 17 Oct 2009 00:05:30 +0000 (02:05 +0200)]
[StThemeNode] Add support for 'width' and 'height' CSS properties.

The behavior in respect to borders matches CSS - the properties set the size of
the content exclusive of the borders (CSS3 box-sizing property - not implemented
here - changes this).

min-width/min-height correspond very closely to the CSS meanings.

width/height are a little different from the CSS meanings - the CSS meaning is
"exactly this size unless overridden by min/max-width/height" - but within the
realm of our layout algorithm, making them control natural size is pretty
close.

This way we can force elements to have a fixed natural or minimum size.

https://bugzilla.gnome.org/show_bug.cgi?id=598651

17 years ago[StThemeNode] round padding values intead of truncating them.
Steve Frécinaux [Fri, 16 Oct 2009 23:37:42 +0000 (01:37 +0200)]
[StThemeNode] round padding values intead of truncating them.

This way, 49.9999 will end up as 50 instead of 49.

https://bugzilla.gnome.org/show_bug.cgi?id=598651

17 years agoDisconnect from window signal handlers when removing a window
Colin Walters [Tue, 20 Oct 2009 21:43:51 +0000 (17:43 -0400)]
Disconnect from window signal handlers when removing a window

We need to remove all of our signal handlers attached to a window
when being disposed.

https://bugzilla.gnome.org/show_bug.cgi?id=598502

17 years ago[ShellWindowTracker] Don't skip "uninteresting" windows for focus
Colin Walters [Wed, 21 Oct 2009 15:28:07 +0000 (11:28 -0400)]
[ShellWindowTracker] Don't skip "uninteresting" windows for focus

For the purposes of determining which application is focused, don't
skip "uninteresting" windows.  The old get_focused_window code
was used for usage tracking, but here we want reliable application
association.

Also convert a .text= to .set_text that was missed with the last
patch.

https://bugzilla.gnome.org/show_bug.cgi?id=599206

17 years ago[appIcon] Fix reference error when favoriting an app
Colin Walters [Tue, 20 Oct 2009 22:49:15 +0000 (18:49 -0400)]
[appIcon] Fix reference error when favoriting an app

17 years ago[panel] Work around Clutter bug causing missing name
Colin Walters [Tue, 20 Oct 2009 20:52:57 +0000 (16:52 -0400)]
[panel] Work around Clutter bug causing missing name

The .text property doesn't queue a resize, see:
http://bugzilla.openedhand.com/show_bug.cgi?id=1851

17 years agoadd appFavorites.js to js/ui/Makefile.am
Dan Winship [Tue, 20 Oct 2009 19:09:23 +0000 (15:09 -0400)]
add appFavorites.js to js/ui/Makefile.am

17 years agoSplit ShellAppMonitor into ShellWindowTracker, ShellAppUsage
Colin Walters [Thu, 15 Oct 2009 23:28:29 +0000 (19:28 -0400)]
Split ShellAppMonitor into ShellWindowTracker, ShellAppUsage

The two parts were mapping windows to applications, and
recording application usage statistics.  The latter part
(now called ShellAppUsage) is much more naturally built on top of
the former (now called ShellWindowTracker).

ShellWindowTracker retains the startup-notification handling.

ShellWindowTracker also gains a focus-app property, which is
what most things in the shell UI are interested in (instead of
window focus).

ShellAppSystem moves to exporting ShellApp from more of its
public API, rather than ShellAppInfo.  ShellAppSystem also
ensures that ShellApp instances are unique by holding
a hash on the ids.

ShellApp's private API is split off into a shell-app-private.h,
so shell-app.h can be included in shell-app-system.h.

Favorites handling is removed from ShellAppSystem, now inside
appFavorites.js.

Port all of the JavaScript for these changes.

https://bugzilla.gnome.org/show_bug.cgi?id=598646

17 years agoAdded Greek translation
Jennie Petoumenou [Tue, 20 Oct 2009 10:49:40 +0000 (13:49 +0300)]
Added Greek translation

17 years agoAdded el to po/LINGUAS
Simos Xenitellis [Tue, 20 Oct 2009 10:48:21 +0000 (13:48 +0300)]
Added el to po/LINGUAS

17 years agoUse a fixed ordering for well-known icons
Colin Walters [Thu, 15 Oct 2009 13:44:09 +0000 (09:44 -0400)]
Use a fixed ordering for well-known icons

Define the ordering for well-known icons; see
the page http://live.gnome.org/Features/StandardIconOrdering

https://bugzilla.gnome.org/show_bug.cgi?id=598313

17 years agoUpdated German translation
Mario Blättermann [Sun, 18 Oct 2009 09:36:34 +0000 (11:36 +0200)]
Updated German translation

17 years agoAnnotate list setters
Colin Walters [Fri, 16 Oct 2009 14:40:42 +0000 (10:40 -0400)]
Annotate list setters

Without these bindings don't know the type of list elements.

https://bugzilla.gnome.org/show_bug.cgi?id=598691

17 years ago[.gitignore] Add *~, .patch
Colin Walters [Fri, 16 Oct 2009 01:44:13 +0000 (21:44 -0400)]
[.gitignore] Add *~, .patch

17 years ago[ShellApp] fix app/window sort order
Dan Winship [Fri, 16 Oct 2009 14:50:33 +0000 (10:50 -0400)]
[ShellApp] fix app/window sort order

The window lists were not being resorted when user-time changed, and
the app list was mistakenly "penalizing" apps for having *any*
minimized windows, rather than for having *only* minimized windows.

https://bugzilla.gnome.org/show_bug.cgi?id=598389

17 years agoSupport fixed position children
Colin Walters [Thu, 15 Oct 2009 18:45:54 +0000 (14:45 -0400)]
Support fixed position children

When doing layout, check for whether x/y have been explicitly
specified, and if so honor those positions.

https://bugzilla.gnome.org/show_bug.cgi?id=598462

17 years agoMinor code cleanup: use child variable consistently
Colin Walters [Thu, 15 Oct 2009 18:25:01 +0000 (14:25 -0400)]
Minor code cleanup: use child variable consistently

Preparation for a subsequent patch.

https://bugzilla.gnome.org/show_bug.cgi?id=598462

17 years ago[workspaces] Don't crash trying to get an icon for untracked app
Colin Walters [Thu, 15 Oct 2009 20:17:18 +0000 (16:17 -0400)]
[workspaces] Don't crash trying to get an icon for untracked app

Use ShellApp directly rather than trying to handle null-safety
with .get_info().

17 years ago[ShellApp] Fix handler signature for workspace switch
Colin Walters [Thu, 15 Oct 2009 17:52:17 +0000 (13:52 -0400)]
[ShellApp] Fix handler signature for workspace switch

This was causing crashes or undefined behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=598227

17 years ago[AppWell] Fix D&D for ShellApp
Colin Walters [Wed, 14 Oct 2009 21:25:17 +0000 (17:25 -0400)]
[AppWell] Fix D&D for ShellApp

The drag and drop case needed to be updated to use ShellApp
correctly.  Export _is_transient for better compatibility.

https://bugzilla.gnome.org/show_bug.cgi?id=598227

17 years agoUpdating for Punjabi by A S Alam
A S Alam [Thu, 15 Oct 2009 00:50:34 +0000 (06:20 +0530)]
Updating for Punjabi by A S Alam

17 years ago[AppWell] Don't duplicate running+favorite
Colin Walters [Wed, 14 Oct 2009 19:36:58 +0000 (15:36 -0400)]
[AppWell] Don't duplicate running+favorite

Regression introduced with previous patch.

17 years agoCreate ShellApp, rebase things on it
Colin Walters [Sun, 11 Oct 2009 20:40:00 +0000 (16:40 -0400)]
Create ShellApp, rebase things on it

Previously, we had ShellAppInfo, which contains fundamental
information about an application, and methods on ShellAppMonitor
to retrieve "live" information like the window list.

AppIcon ended up being used as the "App" class which was painful
for various reasons; among them that we need to handle window
list changes, and some consumers weren't ready for that.

Clean things up a bit by introducing a new ShellApp class in C,
which currently wraps a ShellAppInfo.

AppIcon then is more like the display actor for a ShellApp.  Notably,
the ".windows" property moves out of it.  The altTab code which
won't handle dynamic changes instead is changed to maintain a
cached version.

ShellAppMonitor gains some more methods related to ShellApp now.

In the future, we might consider changing ShellApp to be a GInterface,
which could be implemented by ShellDesktopFileApp, ShellWindowApp.

Then we could axe ShellAppInfo from the "public" API and it would
return to being an internal loss mitigation layer for GMenu.

https://bugzilla.gnome.org/show_bug.cgi?id=598227

17 years agoBump version to 2.28.1
Richard Hughes [Wed, 14 Oct 2009 16:03:18 +0000 (17:03 +0100)]
Bump version to 2.28.1

17 years ago[search] Finish queued search on Return
Colin Walters [Tue, 13 Oct 2009 18:18:47 +0000 (14:18 -0400)]
[search] Finish queued search on Return

If we had a pending search processing, finish it when the user
activates the entry.

This is a small conceptual change; the large diff is simply
moving the search implementation (unedited otherwise) from
an anonymous inline to a named function so it can be called
sanely in _activate.

https://bugzilla.gnome.org/show_bug.cgi?id=598111

17 years agoScroll to bottom when pushing a result
Colin Walters [Fri, 9 Oct 2009 00:11:45 +0000 (20:11 -0400)]
Scroll to bottom when pushing a result

This makes the evaluator significantly more useful past a few
results.

https://bugzilla.gnome.org/show_bug.cgi?id=597919

17 years agoUpdated Arabic translation
Khaled Hosny [Tue, 13 Oct 2009 13:24:40 +0000 (15:24 +0200)]
Updated Arabic translation

17 years agoUpdate Catalan translation
Siegfried-Angel Gevatter Pujals [Sat, 10 Oct 2009 18:25:34 +0000 (20:25 +0200)]
Update Catalan translation

17 years agoUpdated Czech translation
Petr Kovar [Sat, 10 Oct 2009 17:03:47 +0000 (19:03 +0200)]
Updated Czech translation

17 years agoUpdated Italian translation
Milo Casagrande [Sat, 10 Oct 2009 10:39:44 +0000 (12:39 +0200)]
Updated Italian translation

17 years agoAdd Russian translation
Marina Zhurakhinskaya [Fri, 9 Oct 2009 22:19:06 +0000 (18:19 -0400)]
Add Russian translation

Based on the initial translation from Sergey V. Kovylov and additional
feedback from Andrey Korzinev.

17 years agoAdd places.js to POTFILES.in
Marina Zhurakhinskaya [Fri, 9 Oct 2009 22:09:34 +0000 (18:09 -0400)]
Add places.js to POTFILES.in

places.js was missing.

Reordered files alphabetically.

17 years agoUse clutter_actor_destroy in dispose, add _dispose where needed
Colin Walters [Thu, 8 Oct 2009 18:53:46 +0000 (14:53 -0400)]
Use clutter_actor_destroy in dispose, add _dispose where needed

ClutterGroup calls _destroy, but most of St was just calling _unparent.
This caused problems because the DESTROY signal was not emitted
for child elements after destroying a toplevel.  Also, in a GC'd
binding it would cause unpredictable lifetime of children.

Some St widgets simply didn't have _dispose at all; implement it.

Note because of the usage of the background_image in StButton,
we can't cleanly destroy it inside the StWidget.

https://bugzilla.gnome.org/show_bug.cgi?id=597845

17 years agoImprove capitalization
Marina Zhurakhinskaya [Fri, 9 Oct 2009 04:33:33 +0000 (00:33 -0400)]
Improve capitalization

"Add to Favorites" and "Remove from Favorites" menu options should be
capitalized throughout.

17 years agoAdd missing files to POTFILES.in; add a translation hint
Marina Zhurakhinskaya [Fri, 9 Oct 2009 04:30:10 +0000 (00:30 -0400)]
Add missing files to POTFILES.in; add a translation hint

POTFILES.in was missing some files.

"Activities" is not easily translatable into some languages, e.g. Russian,
so suggest using the word for "Overview" instead.

17 years ago[AppSwitcher] Fix hiding the arrow on application change.
Steve Frécinaux [Thu, 8 Oct 2009 11:14:15 +0000 (13:14 +0200)]
[AppSwitcher] Fix hiding the arrow on application change.

The down arrow is shown when an application with more than one
window is selected, but the window list is not always displayed.

This patch fixes the fact that the arrow was not hidden when one
focus an app with a single window when coming from an app with
multiple windows, if the window list was not displayed.

https://bugzilla.gnome.org/show_bug.cgi?id=597791

17 years agoFix srcdir != builddir build of St.gir
Owen W. Taylor [Wed, 7 Oct 2009 23:32:00 +0000 (19:32 -0400)]
Fix srcdir != builddir build of St.gir

We need to use st_cflags which has -I$(srcdir) not ST_CFLAGS
when building St.gir.

17 years agoReference Meta-2.28.gir
Owen W. Taylor [Wed, 7 Oct 2009 23:27:17 +0000 (19:27 -0400)]
Reference Meta-2.28.gir

Now that Mutter has been bumped to 2.28.0, we need to reference
Meta-2.28.gir not Meta-2.27.gir.

17 years agoAdd run-test.sh to CLEANFILES
Owen W. Taylor [Wed, 7 Oct 2009 23:18:43 +0000 (19:18 -0400)]
Add run-test.sh to CLEANFILES

Fix distcheck by adding run-test.sh to CLEANFILES

17 years agoBump version to 2.28.0
Owen W. Taylor [Wed, 7 Oct 2009 23:07:05 +0000 (19:07 -0400)]
Bump version to 2.28.0

17 years agoDeal with unknown flags from ClutterEvent.get_state()
Owen W. Taylor [Wed, 7 Oct 2009 21:20:33 +0000 (17:20 -0400)]
Deal with unknown flags from ClutterEvent.get_state()

When we get a ClutterModifierType from Clutter, it might contain
bits not in the enumeration. See bug 59771 for a similar problem
with GdkModifierType.

Add a wrapper Shell.get_event_state() around clutter_event_get_state()
to mask these bits out and only return approved bits.

https://bugzilla.gnome.org/show_bug.cgi?id=597735

17 years agoFix overview to show on the correct monitor
Owen W. Taylor [Wed, 7 Oct 2009 19:25:41 +0000 (15:25 -0400)]
Fix overview to show on the correct monitor

When tweening the overview in, tween it to appear on the correct
position of the primary monitor, not at (0,0); position
the 'backOver' actor to cover all monitors properly.

Reported by Rui Matos

https://bugzilla.gnome.org/show_bug.cgi?id=597721

17 years agoFix positioning of the Calendar on multihead
Owen W. Taylor [Wed, 7 Oct 2009 18:52:18 +0000 (14:52 -0400)]
Fix positioning of the Calendar on multihead

Parens were in the wrong place, resulting in the calendar not
being properly centered on the primary monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=597078

17 years agoMatch on menu category during application search
Marina Zhurakhinskaya [Wed, 7 Oct 2009 05:41:28 +0000 (01:41 -0400)]
Match on menu category during application search

Being able to display all applications in a category based on the search
string with a category name is generaly useful.

Prepare all the applications that match a search term based on their
category name up-front.

Remove unused this._appCategories and a call to non-existing
itemInfo.get_categories()

17 years agoAdd docs and (transfer none) to st_widget_get_theme_node()
Owen W. Taylor [Wed, 7 Oct 2009 18:26:14 +0000 (14:26 -0400)]
Add docs and (transfer none) to st_widget_get_theme_node()

st_widget_get_theme_node() was missing the (transfer none)
GObject Introspection causing crashes. Add that and document the
function.

17 years ago[AppSwitcher] Use thumbnails instead of a window menu, and other UI changes
Dan Winship [Fri, 2 Oct 2009 15:02:46 +0000 (11:02 -0400)]
[AppSwitcher] Use thumbnails instead of a window menu, and other UI changes

https://bugzilla.gnome.org/show_bug.cgi?id=590563

17 years agoFix exception when showing menu for not-running app
Colin Walters [Mon, 5 Oct 2009 20:01:40 +0000 (16:01 -0400)]
Fix exception when showing menu for not-running app

Need to check windows.length before checking first window.

https://bugzilla.gnome.org/show_bug.cgi?id=597466

17 years agoDon't process the first click on Activities button for a timeout period after the...
Marina Zhurakhinskaya [Tue, 6 Oct 2009 20:55:29 +0000 (16:55 -0400)]
Don't process the first click on Activities button for a timeout period after the hot corner was triggered

This avoids opening and closing the overview when the hot corner is triggered
and the activities button is clicked.

17 years ago[AppSwitcher] add a workaround for a gjs problem with GdkModifierType
Dan Winship [Tue, 6 Oct 2009 14:53:25 +0000 (10:53 -0400)]
[AppSwitcher] add a workaround for a gjs problem with GdkModifierType

gdk_display_get_pointer() sometimes returns values for the mask that
aren't part of the GdkModifierType enumeration, which gjs doesn't like
(bug 597292). Work around that by adding a C wrapper that strips out
the extra flags.

https://bugzilla.gnome.org/show_bug.cgi?id=597559

17 years agoWorkaround being allocated 0x0
Colin Walters [Tue, 6 Oct 2009 18:07:40 +0000 (14:07 -0400)]
Workaround being allocated 0x0

Because of a chain of bugs we could end up getting allocated 0x0,
and this would cause the WellGrid allocation code to be unhappy.

See http://bugzilla.openedhand.com/show_bug.cgi?id=1831

Simply treat 0 as "unlimited" i.e. equivalent to -1.

https://bugzilla.gnome.org/show_bug.cgi?id=597586

17 years agoUse GtkIMContext instead of ClutterIMContext
Owen W. Taylor [Mon, 5 Oct 2009 20:33:19 +0000 (16:33 -0400)]
Use GtkIMContext instead of ClutterIMContext

Add StIMText, which is a drop-in replacement for ClutterIMText but
uses GtkIMContext instead of ClutterIMContext.

StIMText doesn't have preedit support (would need ClutterText
changes), so isn't going to be useful for complicated input methods,
but is good enough to get dead keys and similar working.

entry.js: Simple test case of StEntry
gnome-shell.modules: Remove clutter-imcontext module

https://bugzilla.gnome.org/show_bug.cgi?id=597471

17 years agoDisconnect from window user time notifications, only sort when mapped
Colin Walters [Fri, 2 Oct 2009 19:55:55 +0000 (15:55 -0400)]
Disconnect from window user time notifications, only sort when mapped

Before we were badly leaking AppIcons by not disconnecting from the
window signal handlers when our actor got destroyed.  This caused
us to repeatedly re-sort the windows for each AppIcon that
had ever been displayed with obvious bad consequences.

Besides simply chaining the signals to the lifetime of the AppIcon
actor, we also only do the sorting if we're mapped.  This decreases
the amount of work to do in the not-mapped case.

https://bugzilla.gnome.org/show_bug.cgi?id=597120

17 years ago[AppIcon] Improve shell_draw_box_pointer()
Dan Winship [Sun, 4 Oct 2009 15:37:11 +0000 (11:37 -0400)]
[AppIcon] Improve shell_draw_box_pointer()

Add a new enum type for the pointer direction, rather than abusing
ClutterGravity, and implement the missing directions.

https://bugzilla.gnome.org/show_bug.cgi?id=597498

17 years ago[AppIcon] redo constructor to take a params object, add "size" param
Dan Winship [Mon, 5 Oct 2009 23:33:38 +0000 (19:33 -0400)]
[AppIcon] redo constructor to take a params object, add "size" param

Add a "size" parameter to allow changing the AppIcon size, and then
simplify the constructor by taking an object with parameters like
gobject-introspection constructors do, rather than taking a large
number of miscellaneous arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=597498

17 years ago[AppIcon] compute the sorted window list even if not doing the menu
Dan Winship [Mon, 5 Oct 2009 19:18:55 +0000 (15:18 -0400)]
[AppIcon] compute the sorted window list even if not doing the menu

https://bugzilla.gnome.org/show_bug.cgi?id=597498

17 years agoRun dialog: Make error message translatable
Adel Gadllah [Mon, 5 Oct 2009 21:53:50 +0000 (23:53 +0200)]
Run dialog: Make error message translatable

Allow the error message to be translated.

https://bugzilla.gnome.org/show_bug.cgi?id=597422

17 years agoWork around libcroco < 0.6.2 parsing bug for 'rgba'
Owen W. Taylor [Mon, 5 Oct 2009 14:10:23 +0000 (10:10 -0400)]
Work around libcroco < 0.6.2 parsing bug for 'rgba'

To work around a problem where libcroco < 0.6.2 can't handle
functions starting with 'r' or 'u', preconvert 'rgba' to 'RGBA'
when parsing stylesheets and then check for rgba()
case-insensitively.

(libcroco is uniformly case-sensitive, though the CSS spec requires
that ASCII should be handled case-insensitively.)

https://bugzilla.gnome.org/show_bug.cgi?id=597054

17 years agoPlaces: Add padding between "Connect to.." and devices section
Adel Gadllah [Mon, 5 Oct 2009 14:34:23 +0000 (16:34 +0200)]
Places: Add padding between "Connect to.." and devices section

Add padding after "Connect to.." to make the list look consistent when devices
are connected.

https://bugzilla.gnome.org/show_bug.cgi?id=597423

17 years agoCheck that no new term was introduced before doing a subsearch
Marina Zhurakhinskaya [Mon, 5 Oct 2009 17:50:58 +0000 (13:50 -0400)]
Check that no new term was introduced before doing a subsearch

We combine search terms with OR, so if a new search term is introduced,
the search results are no longer a subset of the previous search results.

17 years ago[AppSwitcher] Change separator color
Dan Winship [Mon, 5 Oct 2009 17:12:38 +0000 (13:12 -0400)]
[AppSwitcher] Change separator color

https://bugzilla.gnome.org/show_bug.cgi?id=597362

17 years agoDon't create multiple copies of the (+) button
Adel Gadllah [Mon, 5 Oct 2009 16:21:51 +0000 (18:21 +0200)]
Don't create multiple copies of the (+) button

Currently we recreate it every time Main.overview.show() is called,
 so destroy it to avoid having multiple copies floating around.

https://bugzilla.gnome.org/show_bug.cgi?id=597309

17 years agoString formatting: Fix warning
Adel Gadllah [Mon, 5 Oct 2009 15:59:33 +0000 (17:59 +0200)]
String formatting: Fix warning

Fix to not trigger a warning like:

JS ERROR: !!!   WARNING: 'anonymous function does not always return a value'

by adding a return ""; at the end of the anonymous function.

https://bugzilla.gnome.org/show_bug.cgi?id=595661

17 years agoAvoid doing expensive work when not mapped
Colin Walters [Sat, 3 Oct 2009 00:17:34 +0000 (20:17 -0400)]
Avoid doing expensive work when not mapped

For some unknown reason we were connecting to app-added and
app-removed on ShellAppMonitor in the AppDisplay class, which
never made any use of the data.  Simply don't connect to those
signals for now.  In the future we should have AppDisplay
be using the AppIcon class which will more correctly handle
dynamic changes.

In the AppWell, avoid doing the full relayout until we're
actually mapped.

https://bugzilla.gnome.org/show_bug.cgi?id=597169

17 years agoAdd String formatting
Adel Gadllah [Sun, 4 Oct 2009 21:30:18 +0000 (23:30 +0200)]
Add String formatting

Add String formatting by extending the String object with a
format method.

Now we can do stuff like "Text: %s, %d".format(somevar, 5)

This is required for proper translation of some strings.

https://bugzilla.gnome.org/show_bug.cgi?id=595661

17 years agoUpdated German translation
Christian Kirbach [Sun, 4 Oct 2009 16:52:10 +0000 (18:52 +0200)]
Updated German translation

17 years agoSelect next window from the current app on alt+tab
Steve Frécinaux [Thu, 1 Oct 2009 09:23:00 +0000 (11:23 +0200)]
Select next window from the current app on alt+tab

This slightly changes the behaviour of the alt+tab window, this way:
when using alt-tab on a workspace that contains two or more windows from
the same window, the application selected when hitting alt+tab is the
currently selected application, but the highlighted window is the next
one.

Intended goal is to make it easier to cycle around windows of the same
application while not having to cycle through all the applications first.

https://bugzilla.gnome.org/show_bug.cgi?id=590563

17 years agoConsider workspace when sorting windows in menu.
Steve Frécinaux [Thu, 1 Oct 2009 23:12:59 +0000 (01:12 +0200)]
Consider workspace when sorting windows in menu.

By sorting the windows in the current workspace first, we ensure that
when using alt+tab to switch windows, we will pick a window on the
active workspace as the default focused window for the application if
the application has at least one window on the current workspace (that
is, if it is on the left of the app switcher separator).

This makes the behaviour of alt+tab more predictable for the user, as
an user will expect alt+tab to switch to the window he/she can see right
now rather than the one on the workspace he just left (presumably to do
something else on the workspace he's currently on).

https://bugzilla.gnome.org/show_bug.cgi?id=590563

17 years agoUse better fitting color for non ARGB tray icons
Adel Gadllah [Fri, 2 Oct 2009 19:36:46 +0000 (21:36 +0200)]
Use better fitting color for non ARGB tray icons

Currently we use 0xefefefff as a background color for non ARGB tray icons,
which looks out of place (i.e does not fit the panel's background gradient).

Change it to 0x0b0b0bff to fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=597148

17 years agoUpdated Arabic translation
Khaled Hosny [Sat, 3 Oct 2009 17:20:25 +0000 (19:20 +0200)]
Updated Arabic translation

17 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 3 Oct 2009 08:48:19 +0000 (10:48 +0200)]
Updated Norwegian bokmål translation.

17 years agoCache applications for a menu
Colin Walters [Fri, 2 Oct 2009 23:02:14 +0000 (19:02 -0400)]
Cache applications for a menu

Rather than recomputing this each time someone asks, have a
cache of the apps for a given menu.

https://bugzilla.gnome.org/show_bug.cgi?id=597167